<template>
  <!-- 如果页面上的按钮有样式效果,说明El组件库引入成功了 -->
  <!-- 如果<el-button有提示,说明IDEA插件element装成功了 -->
  <!-- 参照笔记完成以上两步,注意:需要重启IDEA! -->
  <h1>El-按钮组件</h1>
  <!-- type切换按钮主题色 primary蓝 success绿 info灰 warning黄 danger红
  plain空白按钮 round胶囊型按钮 circle圆形按钮 disabled禁用按钮-->
  <el-button type="primary">按钮</el-button>
  <el-button type="success" plain>按钮</el-button>
  <el-button type="info" round>按钮</el-button>
  <el-button type="warning" circle>按钮</el-button>
  <el-button type="danger" disabled>按钮</el-button>
  <!-- link链接按钮 -->
  <a href="https://www.baidu.com">
    <el-button link>链接按钮</el-button>
  </a>
  <a href="https://www.tmooc.cn">
    <el-button type="primary" link>达内</el-button>
  </a>

  <el-button :icon="Search" circle />
  <el-button type="primary" :icon="Edit" circle />
  <el-button type="success" :icon="Check" circle />
  <el-button type="info" :icon="Message" circle />
  <el-button type="warning" :icon="Star" circle />
  <el-button type="danger" :icon="Delete" circle />
</template>

<script setup>
import {
  Check,
  Delete,
  Edit,
  Message,
  Search,
  Star,
} from '@element-plus/icons-vue'
</script>

<style scoped>

</style>